<template>
    <div class="logo" @click="toRouter">
        {{t('title')}}
    </div>
</template>
<script setup>
import { useI18n } from 'vue-i18n';
const { t } = useI18n()
const toRouter = () => {
    window.location.href = '/'
}
</script>
<style lang="scss" scoped>
.logo {
    font-size: 24px;
    font-weight: bold;
    width: 200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
</style>